package com.tedu.guardian.mapper;

import com.tedu.guardian.pojo.entity.Guardian;
import com.tedu.guardian.pojo.vo.GuardianVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface GuardianMapper {
    GuardianVO selectGuardianById(Integer id);

    void insert(Guardian guardian);

    void update(Guardian guardian);

    void deleteById(Integer guardianId);

    GuardianVO selectGuardian(String guardianName);
}
